package com.ux.example
{
	import com.ux.manager.StageManager;
	
	import flash.display.Sprite;
	import flash.events.MouseEvent;
	
	public class DimTest extends Sprite
	{
		public function DimTest()
		{
			super();
			StageManager.stage = stage;
			StageManager.setDim( 0x000000, 0.5 );
			StageManager.stage.addEventListener(MouseEvent.CLICK, onClick );
		}
		
		
		
		private function onClick( e:MouseEvent ):void 
		{
			StageManager.showDim();
		}
	}
}